package com.example.android_demo2.room

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity
data class User (
    @PrimaryKey //main key
    val uid: Int,
    @ColumnInfo(name = "first_name") //lie name
    val firstName: String?,
    @ColumnInfo(name = "last_name") val lastName: String?
    )